package com.foreveross.fetl.application.impl;

import java.util.Date;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.fetl.application.IAirChinaTaobaoApplication;
import com.foreveross.fetl.common.application.BaseApplicationImpl;
import com.foreveross.fetl.core.domain.freight.AirChinaTaobaoEntity;

@Transactional
@Service("airChinaTaobaoApplication")
public class AirChinaTaobaoApplicationImpl extends BaseApplicationImpl
		implements IAirChinaTaobaoApplication {

	@Override
	public int creatReport(List<String> channels, List<String> carrierKeys,
			String fromCity, String toCity, Date startTime, Date endTime,
			Date flightDate) {
		AirChinaTaobaoEntity entity =new AirChinaTaobaoEntity();
		return entity.creatReport(channels, carrierKeys, fromCity, toCity, startTime, endTime, flightDate);
	}

}
